XMLElement.SetAttributeNode Function

Sets an attribute node. Optionally returns a reference to a node as an XMLAttribute that had the same name and was replaced.

Syntax

result = XMLElement.SetAttributeNode( AttributeNode, [ns] )

Parameters

AttributeNode

XMLAttribute

ns

Boolean (Optional)

Return Value

Result

XMLAttribute

Notes

The optional parameter ns determines whether to use and declare any namespace data found in the passed XMLAttribute.